import Foundation

struct Conversation: Identifiable {
    let id = UUID()
    let title: String
    var messages: [SimpleChatMessage]
    let isSelected: Bool
    
    static var sampleConversations: [Conversation] = [
        Conversation(title: "你好", messages: [
            SimpleChatMessage(content: "你好", isFromUser: true, timestamp: Date()),
            SimpleChatMessage(content: "你好！有什么我可以帮助你的吗？", isFromUser: false, timestamp: Date())
        ], isSelected: true),
        Conversation(title: "新对话 3", messages: [], isSelected: false),
        Conversation(title: "新对话 2", messages: [], isSelected: false),
        Conversation(title: "你好", messages: [], isSelected: false)
    ]
} 